package com.biodiv.common.message;

/**
 *@Author: tianquan
 *@date: 2024-11-03  20:54
 *@Description: 删除实例消息
 */
public class DeleteInstanceMessage extends Message{

    private final String id;

    private final String serviceName;

    public DeleteInstanceMessage(String id, String serviceName) {
        this.id = id;
        this.serviceName = serviceName;
    }

    public String getId() {
        return id;
    }

    public String getServiceName() {
        return serviceName;
    }

    @Override
    public int getMessageType() {
        return DeleteInstanceMessage;
    }
}
